package urlReader;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;

public class URLReader
{

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException
	{
        URL oracle = new URL("file://g00pfm01.hd00.unicreditgroup.eu/EX16218$/EX16218.home/Redirected_Profile/Desktop/test.html");
        InputStreamReader i = new InputStreamReader(oracle.openStream());
        BufferedReader in = new BufferedReader(i);

        String inputLine;
        while ((inputLine = in.readLine()) != null)
            System.out.println(inputLine);
        in.close();

	}

}
